using NMock2;

namespace SKBFirst.Tests.Expectations
{
    public static class TreeNodeExpectations
    {
        public static void ExpectAdd(this ITreeNode mock, int i)
        {
            Expect.Once.On(mock)
                .Method("Add")
                .With(i);
        }

        public static void ExpectSlice(this ITreeNode mock, int l, int r)
        {
            Expect.Once.On(mock)
                .Method("Slice")
                .With(l, r);
        }
    }
}